
package com.htd.htdapmdmo;


import com.htd.htdapmcommon.enums.AlarmSendStatus;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import java.io.Serializable;
import java.util.Date;


@Getter
@Setter
public class DataCompare implements Serializable {
	/** serialVersionUID */
	private static final long serialVersionUID = 1L;
	/** ID */
	private Long id;
	/** alarms_title */
	private String alarmsTitle;
	/** alarms_detail */
	private String alarmsDetail;
	/** create_time */
	private Date createTime;
	/** update_time */
	private Date updateTime;
	/** batch_no */
	private String batchNo;
	/** product_type_code */
	private String productTypeCode;
	/** status */
    @Enumerated(EnumType.STRING)
	private AlarmSendStatus status = AlarmSendStatus.SEND_NO;
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}

}
